import { Result } from 'antd';

/**
 * 404 页面
 * @constructor
 */
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
export function NotFound() {
  var _window$location$prev;
  var pathname = ((_window$location$prev = window.location['prevRoute']) === null || _window$location$prev === void 0 ? void 0 : _window$location$prev.pathname) || '#';
  return /*#__PURE__*/_jsx(Result, {
    status: "404",
    title: "404",
    subTitle: /*#__PURE__*/_jsxs("span", {
      children: ["Sorry, the page", /*#__PURE__*/_jsx("span", {
        style: {
          fontWeight: 'bold',
          fontSize: 14,
          margin: '0 6px'
        },
        children: pathname
      }), "you visited does not exist.`"]
    })
  });
}